package skean.apclient;

import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.widget.Toast;

public class MainActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);
	}

	@Override
	protected void onResume() {
		super.onResume();
		Toast.makeText(this, "开始了10秒扫描一次wifi	", Toast.LENGTH_SHORT).show();
		sendBroadcast(new Intent(ClientReceiver.ACTION_START));
		finish();
	}

}
